const users = require('./users')
const message = require('./message');
const friend = require('./friend');
const group = require('./group');

const routes = app => {
  app.use(users.routes(), users.allowedMethods())
  app.use(message.routes(), message.allowedMethods())
  app.use(friend.routes(), friend.allowedMethods());
  app.use(group.routes(), group.allowedMethods());
}
module.exports = routes;